package jedicourse.jduplessy.exercisesChapter5.core;

/**
 * 
 * @author jd09008
 * # exercise 5.1
 *
 */

public class CuentaAes {

	
	public static void main(String[] args) throws Exception {
		
		
		char c;
		int count = 0;
		
		do{
			count++;
			c = (char) System.in.read();			
		}while(c!='.');
		System.out.println("count of characters before \".\" are "+(count-1));
		
	}
	
	
}
